package com.smartfactory.sail.vo.item;

import com.smartfactory.sail.dto.InspectioncriteriaDto;
import com.smartfactory.sail.dto.ItemMaterialInfoDto;
import com.smartfactory.sail.dto.ItemWorkingprocedureDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author 王巨壁
 * @title: ProjectInfoResp
 * @projectName smart-sail
 * @description: 产品详情
 * @date 2019/7/2516:49
 */
@Data
public class ProjectInfoResp {

    @ApiModelProperty(value = "产品id")
    private Long id;

    @ApiModelProperty(value = "物料编码")
    @NotBlank
    private String code;

    @ApiModelProperty(value = "时产能")
    private Integer hourlyCapacity;

    @ApiModelProperty(value = "产品名称")
    @NotBlank
    private String name;

    @ApiModelProperty(value = "物料描述")
    private String info;

    @ApiModelProperty(value = "图纸号")
    private String drawingCode;

    @ApiModelProperty(value = "型号")
    private String specification;

    @ApiModelProperty(value = "报废率")
    private Integer scrapRate;

    @ApiModelProperty(value = "产品图片id 可以多个")
    private String productDrawings;

    @ApiModelProperty(value = "客户图纸id 可以多个")
    private String custDrawings;

    @ApiModelProperty(value = "技术图纸id 可以多个")
    private String technicalDrawings;

    @ApiModelProperty(value = "产品检验标准")
    private List<InspectioncriteriaDto> inspectioncriteriaList;

    @ApiModelProperty(value = "需要的原料列表")
    private List<ItemMaterialInfoDto> itemMaterialList;

    @ApiModelProperty(value = "产品工序及校验-绑定的部门id")
    private Long deptId;

    @ApiModelProperty(value = "产品工序及校验")
    private List<ItemWorkingprocedureDto> workingprocedureList;

}
